<template>
    <div>
        后台首页
        {{ userStore.user.username }}
    </div>
    <!-- <el-button @click="handelLogOut">退出登录</el-button> -->
</template>
<script setup>
import { useUserStore } from '@/store'
import { useRouter } from 'vue-router';

const userStore = useUserStore()
const router = useRouter()
</script>